package com.xr.service;

import com.xr.pojo.Member;
import com.xr.query.QueryPageBean;
import com.xr.result.PageResult;

import java.util.List;

public interface MemberService {


    //7.登录验证
    Member login(String telephone);

    //是否是会员不是添加
    void add(Member member);


    List<Integer> getMemberReport(List<String> months);

    //分页+条件查询
    PageResult findPage(QueryPageBean queryPageBean);

    //添加
    void addMember(Member member);

    //修改
    void updMember(Member member);

    //删除
    void delMember(Integer id);

    //根据id查询
    void queryById(Integer id);

}
